package com.hx.dc.service.impl;

import com.hx.dc.entity.RoleCatagory;
import com.hx.dc.service.RoleCatagoryService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Mr.Lee on 2019/2/15.
 */
@Service("roleCatagoryService")
public class RoleCatagoryServiceImpl extends BaseServiceImpl<RoleCatagory> implements RoleCatagoryService {

    @Override
    public int insertRoleCatagoryList(List<RoleCatagory> list) {
        return roleCatagoryMapper.insertRoleCatagoryList(list);
    }

    @Override
    public List<RoleCatagory> loginList(RoleCatagory roleCatagory) {
        return roleCatagoryMapper.loginList(roleCatagory);
    }
}
